package state;

public class Test {
    public static void main(String[] args) {
        AudioPlayer player = new AudioPlayer();
        player.addSong("Song1");
        player.addSong("Song2");
        player.addSong("Song3");

        System.out.println(player.getState());
        player.clickPlay();

        System.out.println("----------------------------------------------");
        player.clickLock();
        player.clickNext();

        System.out.println("----------------------------------------------");
        player.clickLock();
        player.clickPlay();
        player.clickNext();
    }
}
